package com.example.xm.mapper;

import com.example.xm.entity.Productentity;
import com.example.xm.entity.dto.ProductQueryDto;
import com.example.xm.entity.dto.UserDto;
import com.example.xm.entity.vo.EcahrsVo;

import java.util.List;

/**
* @author tong
* @description 针对表【product】的数据库操作Mapper
* @createDate 2024-04-13 12:37:40
* @Entity com/example/xm.domain.Productentity
*/
public interface ProductMapper {
    void insert(Productentity productentity);
    void updateByPrimaryKeySelective(Productentity productentity);

    List<Productentity> selectList(ProductQueryDto dto);

    Productentity getById(Integer id);


    void guoqiTime(String time);

    void delete(int[] intArray);

    List<Productentity> xiaoliang();

    List<EcahrsVo> echars(Integer num,Integer type);
}




